package com.lire.shop.dao;

import com.lire.shop.entity.SessionLogin;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

@Transactional
@Repository
public interface SessionLoginRepository extends JpaRepository<SessionLogin,Long> {
    SessionLogin findByUsername(String username);
}
